import AutoImport from "unplugin-auto-import/vite";

export default function initAutoImport() {
  return AutoImport({
    dts: "types/auto-import.d.ts",
    imports: [
      "vue",
      "vue-router",
      {
        from: "vue-router",
        imports: ["RouteLocationRaw"],
        type: true
      }
    ]
  });
}
